home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
misc
/
born21.lha
/
Born.doc
< prev
next >
Wrap
Text File
|
1995-04-30
|
4KB
|
96 lines
----------------------------------------------------------------------------
BORN V2.10
Coded by The Last Viking
Born is a reminder program, which started of as a birthday reminder program
but it has now evolved into a reminder for anything. The idea of the program
is to remind the user of general events happening on specific days each year.
Like Christmas, Valentines day, your grandmother's birthday and
Anniversaries and such.
The born package consists of 4 programs:
Born -> ready compiled Amiga version of the program.
Born.dta -> sample datafile
Born.doc -> this documentation file.
Born.c -> the sourcecode, as the program is written in ANSI-C, it should
extremely easy to port it to other systems. It's a pure shell
based program, so you don't have to worry about windows with
bells and whistles.
If you are missing one of the files above, then you can email me or try
looking on AmiNet. This program is public domain so spread it as you wish,
but it would be nice if you spread the whole lha-archieve file when you do
so.
Now to the program itself, there are 3 ways to start born.
born filename] silent -this one will run born silently. If nothing is
happening then you won't get any output at all.
born filename -Born prints a oneliner, then prints new messages.
born help -This is a short help function.
All the parameters must be written in lowercase. Born is very strict when it
comes to parameter and syntax accuracy. Here is an example of how it can be
executed: Born s:born.dta silent. Which will start born, load the data from
the s: directory and run it silent (no output unless it's necessary).
But before you run born, you would have to set up a datafile, Born.dta, or
you can call it whatever you want. There is some examples in the Born.dta
file of how you can set it up.
The top of the message can have N remark lines. This isn't necessary but
it's a good way of labeling the file. If you have many remark lines then the
running of the program will become slower. After these remark lines you HAVE
to have a open line. If you remove all the remarks you will still have to
have that open line. If you don't do that, then you will get a read error
message. Then after that open line you can write the data in the following
format:
dd-mm da notice
Where dd is days, mm is month, da is days in advance and notice is the text
that you want written out on those specific days. da can be max 9 because 9
days in advance is the max that the programs allow you to be reminded of an
event. The last line in in this script has to be: XX-XX X END OF FILE.
Here's some examples:
19-08 4 This will work fine.
19-8 2 This will not work because all numbers in the date needs to be
written with two digits.
4-03 4 This will not work for the same reasons.
04-23 4 Uh, the DAY is the first one and the MONTH is the second digit!
01-01 10 This will not work either, as the max for DA is 9.
That just about wraps it up. I think, if you are on internet, then you can
send me a birthday greeting at the 12'th of July :) Feedback is always good.
My address are:
Pål D. Ekran Email: paalde@stud.cs.uit.no
Mobekkgata 26
8600 MO
NORWAY
----------------------------------------------------------------------------
Evolution history:
v1.0 Old unstable Modula-2 code. Crashed on bad days.
v1.1 Another Modula-2 version. This one works, and it has the date written
in EC.
v2.0 Born is no longer just a birthday reminder, it reminds you of all kinds
of events. It also have other new features, like a silent mode and
and adjustable day in advance where you can select when you want to be
reminded. The code was totally rewritten in C, and it is much cleaner
than the previous Modula-2 code.
V2.1 A upshine of v2.0.
----------------------------------------------------------------------------